package com.blog.module.photos.mapper;

import com.blog.module.photos.pojo.PhotosInfo;
import com.blog.module.photos.pojo.PhotosInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface PhotosInfoMapper {
    int countByExample(PhotosInfoExample example);

    int deleteByExample(PhotosInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PhotosInfo record);

    int insertSelective(PhotosInfo record);

    List<PhotosInfo> selectByExampleWithRowbounds(PhotosInfoExample example, RowBounds rowBounds);

    List<PhotosInfo> selectByExample(PhotosInfoExample example);

    PhotosInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PhotosInfo record, @Param("example") PhotosInfoExample example);

    int updateByExample(@Param("record") PhotosInfo record, @Param("example") PhotosInfoExample example);

    int updateByPrimaryKeySelective(PhotosInfo record);

    int updateByPrimaryKey(PhotosInfo record);
}